<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
    >

    <Style x:Key="VideoButton" TargetType="{x:Type Button}">
    <Setter Property="Width" Value="60"/>
    <Setter Property="Height" Value="60"/>
    <Setter Property="HorizontalAlignment" Value="Center"/>
    <Setter Property="VerticalAlignment" Value="Center"/>
    <Setter Property="Margin" Value="20"/>
  </Style>

    <SolidColorBrush x:Key="rightCanvasBrush" Color="#CCCCCC" />
    <SolidColorBrush x:Key="iconBrush" Color="#666666" />
    <SolidColorBrush x:Key="midCanvasBrush" Color="#E9E6DF" />
    <SolidColorBrush x:Key="leftCanvasBrush" Color="#EEEEEE" />


    <Storyboard x:Key="expandPlayer">
        <DoubleAnimation 
                    Storyboard.TargetName="rightCanvas" 
                    Storyboard.TargetProperty="(Canvas.Left)"
                    To="250" 
                    Duration="0:0:0.5" />
        <PointAnimation 
                    Storyboard.TargetName="seg2" 
                    Storyboard.TargetProperty="(LineSegment.Point)"
                    To="250,0" 
                    Duration="0:0:0.5" />
        <PointAnimation 
                    Storyboard.TargetName="seg3" 
                    Storyboard.TargetProperty="(LineSegment.Point)"
                    To="250,30" 
                    Duration="0:0:0.5" />
        <DoubleAnimation
                    Storyboard.TargetName="animatedSpeaker"
                    Storyboard.TargetProperty="(Canvas.Left)"
                    To="4"
                    Duration="0:0:0.5" />
        <DoubleAnimation
                    Storyboard.TargetName="animatedSpeaker"
                    Storyboard.TargetProperty="Opacity"
                    To="0"
                    Duration="0:0:0.5" />
        <DoubleAnimation
                    Storyboard.TargetName="sliderVolume"
                    Storyboard.TargetProperty="Opacity"
                    To="1"
                    Duration="0:0:0.5" />
    </Storyboard>

    <Storyboard x:Key="collapsePlayer">
        <DoubleAnimation 
                    Storyboard.TargetName="rightCanvas" 
                    Storyboard.TargetProperty="(Canvas.Left)"
                    To="35" 
                    Duration="0:0:0.5" />
        <PointAnimation 
                    x:Name="pa3" 
                    Storyboard.TargetName="seg2" 
                    Storyboard.TargetProperty="(LineSegment.Point)"
                    To="25,0" 
                    Duration="0:0:0.5" />
        <PointAnimation 
                    x:Name="pa4" 
                    Storyboard.TargetName="seg3" 
                    Storyboard.TargetProperty="(LineSegment.Point)"
                    To="25,30" 
                    Duration="0:0:0.5" />
        <DoubleAnimation
                    x:Name="da11"
                    Storyboard.TargetName="animatedSpeaker"
                    Storyboard.TargetProperty="(Canvas.Left)"
                    To="12"
                    Duration="0:0:0.5" />
        <DoubleAnimation
                    Storyboard.TargetName="animatedSpeaker"
                    Storyboard.TargetProperty="Opacity"
                    To="1"
                    Duration="0:0:0.5" />
        <DoubleAnimation
                    Storyboard.TargetName="sliderVolume"
                    Storyboard.TargetProperty="Opacity"
                    To="0"
                    Duration="0:0:0.5" />
    </Storyboard>
    <Storyboard x:Key="positionUpdate">
        <DoubleAnimation 
                    x:Name="da3" 
                    Duration="0:0:0.5" 
                    Storyboard.TargetName="hiddenRect" 
                    Storyboard.TargetProperty="(Rectangle.Width)" />
    </Storyboard>



</ResourceDictionary>